package com.shanzmoo.stm.admin;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 仓储用户管理后台-接口服务 启动类
 *
 * @author： Gzhao 2021/3/9
 */
@Slf4j
@SpringBootApplication(scanBasePackages = {"com.shanzmoo.db", "com.shanzmoo.stm.admin", "com.shanzmoo.core"})
@MapperScan("com.shanzmoo.db.*.mapper")
@EnableTransactionManagement
public class StmAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(StmAdminApplication.class, args);
        log.info("================= start finish!!! ===============");
    }
}
